package com.bwie.service;

import com.bwie.bean.Article;
import com.bwie.bean.Tag;

import java.util.List;
import java.util.Map;

public interface ArticleService {
    List<Article> list(Map map);

    List<Tag> listTag();

    int delAll(String aid);

    int add(Article article, Integer[] tids);

    int update(Article article, Integer[] tids);

    Article listHui(Integer aid);

}
